<template>
    <div class="demo2">    
        <h1>学生{{name}}{{address}}</h1>
        <button @click="showName">click</button>
        <button @click="showAddress">click</button>

    </div>
</template>

<script>
    import {hunhe1,hunhe2} from "../mixin/mixin"
    export default {
        name:"MySchool",
        data(){
            return {
                name:'zzz1',
                address:"zzzzzzzzfffffff"
            }
        },
        mixins:[hunhe1,hunhe2],
    }
</script>

<style>
    .demo2{
        background-color: orange;
    }
</style>